$(function(){
    $(".inside-block").niceScroll({
        cursorcolor: "#000",
        zindex: 999,
        bouncescroll: true,
        cursoropacitymax: 0.4,
        cursorborderradius: 8,
        cursorwidth: "6px",
        background: "rgba(0,0,0,.1)",
        autohidemode: false,
        railpadding: {
            top: 0,
            right: 2,
            left: 2,
            bottom: 0
        }
    });
});